package net.maku.events.convert;

import net.maku.events.entity.ActivitySnapshotEntity;
import net.maku.events.vo.ActivitySnapshotVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 随手拍活动
*
* @author 阿沐 babamu@126.com
* @since 1.0.0 2025-03-22
*/
@Mapper
public interface ActivitySnapshotConvert {
    ActivitySnapshotConvert INSTANCE = Mappers.getMapper(ActivitySnapshotConvert.class);

    ActivitySnapshotEntity convert(ActivitySnapshotVO vo);

    ActivitySnapshotVO convert(ActivitySnapshotEntity entity);

    List<ActivitySnapshotVO> convertList(List<ActivitySnapshotEntity> list);

}